package com.example.phoenixshop.bean;

import java.util.Date;

public class SellerApplication {
    /**
     * 申请id（数据库）
     */
    private Long id;
    /**
     * 申请的用户id
     */
    private Long userId;
    /**
     * 状态参数，2为等待审核、1为通过审核
     */
    private Byte state;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 处理人id
     */
    private Long dealAdminId;

    public SellerApplication(Long id, Long userId, Byte state, Date createTime, Date updateTime, Long dealAdminId) {
        this.id = id;
        this.userId = userId;
        this.state = state;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.dealAdminId = dealAdminId;
    }

    public SellerApplication() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getDealAdminId() {
        return dealAdminId;
    }

    public void setDealAdminId(Long dealAdminId) {
        this.dealAdminId = dealAdminId;
    }
}